﻿using System;
using System.Collections.Generic;
using System.Text;

namespace WFL.Wrapper.Highcharts
{
    public class PieObject : JsonObject
    {
        public bool AllowPointSelect
        {
            get { return GetValue<bool>("allowPointSelect"); }
            set { this["allowPointSelect"] = value; }
        }

        public string Cursor
        {
            get { return (string)this["cursor"]; }
            set { this["cursor"] = value; }
        }

        public DataLabelsObject DataLabels
        {
            get { return (DataLabelsObject)this["dataLabels"]; }
            set { this["dataLabels"] = value; }
        }

        public bool ShowInLegend
        {
            get { return GetValue<bool>("showInLegend"); }
            set { this["showInLegend"] = value; }
        }
    }
}
